package com.fulihui.weixinsdk.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 自定义图文发送包装-48小时
 *
 * @author wang_wx
 * @date 2018-07-18
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class NewsMessage {
    /**
     * 消息类型 - 图文
     */
    private String msgtype = "news";

    private News news;

    @Getter
    @Setter
    @ToString
    @NoArgsConstructor
    public static class News {
        private List<Article> articles;
    }
}
